package com.harmontronics.hanma.paas.paas.config;

import com.harmontronics.hanma.paas.paas.interceptor.FeignInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ldb
 */
@Configuration
public class FeignConfiguration {
    @Bean
    public RequestInterceptor requestInterceptor(){
        return new FeignInterceptor();
    }
}
